import { createApp } from 'vue'
// 全局引入
// import Antd from 'ant-design-vue';
// import 'ant-design-vue/dist/antd.css';
// 按需引入   需要安装npm i less less-loader -d
import { Button, message } from 'ant-design-vue';
import 'ant-design-vue/lib/button/style/css'; 
import App from './App.vue'
import router from './router'
import store from './store'
const app = createApp(App);
app.config.productionTip = false;
// 全局引入
// app.use(store).use(router).use(Antd).mount('#app')
// 按需引入 
app.use(store).use(router).use(Button).mount('#app');
app.config.globalProperties.$message = message;

